package com.example.demo01.Entity.webEntity;

/**
 * 详细报警信息实例
 */
public class WarnDetail {
    //attributes
    private String name;
    private Integer warnTimes;
    private String illHis;
    private Integer age;
    private String nurseLevel;
    private String address;

    //setter
    public void setName(String name) {
        this.name = name;
    }

    public void setWarnTimes(Integer warnTimes) {
        this.warnTimes = warnTimes;
    }

    public void setIllHis(String illHis) {
        this.illHis = illHis;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void setNurseLevel(String nurseLevel) {
        this.nurseLevel = nurseLevel;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    //getter
    public String getName() {
        return name;
    }

    public Integer getWarnTimes() {
        return warnTimes;
    }

    public String getIllHis() {
        return illHis;
    }

    public Integer getAge() {
        return age;
    }

    public String getNurseLevel() {
        return nurseLevel;
    }

    public String getAddress() {
        return address;
    }

    //constructors
    public WarnDetail(){ }

    public WarnDetail(String name, Integer warnTimes, String illHis, Integer age, String nurseLevel, String address) {
        this.name = name;
        this.warnTimes = warnTimes;
        this.illHis = illHis;
        this.age = age;
        this.nurseLevel = nurseLevel;
        this.address = address;
    }

    //toString
    @Override
    public String toString() {
        return "WarnDetail{" +
                "name='" + name + '\'' +
                ", warnTimes=" + warnTimes +
                ", illHis='" + illHis + '\'' +
                ", age=" + age +
                ", nurseLevel='" + nurseLevel + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
